This forum is closed to new posts and
responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:
RE: values changed by agent are not saved ~Umberto Nongeroson 8.Jan.04 06:08 PM a Web browser Applications Development 6.0.3All Platforms
Don't save the document twice -- that's wasteful. Furthermore, the agent works with the document in the back end, and the document that's open in edit mode is not going to automatically update its display just because the back-end document changed, any more than it would if another user edited and saved the document while you were working on it.
Furthermore, there's apparently nothing to prevent a user from saving without using your action button, bypassing this code.
Do your thing in the Querysave event, but don't use an agent. Just put the code on the form (or in a script library and call it from the form).
For that matter, if all you want to do is detect a blank field and fill a value in, why not just use an input translation formula?